package com.wanlian.candy.controller.vo;

import com.wanlian.entity.Card;
import com.wanlian.entity.Product;
import com.wanlian.json.JsonStringUtil;

import java.util.List;

public class CardPatchVo {
    private Product product;
    private List<Card> cards;

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public List<Card> getCards() {
        return cards;
    }

    public void setCard(List<Card> cards) {
        this.cards = cards;
    }

    public String toString(){
        return JsonStringUtil.writeValueAsString(this);
    }
}
